Package edu.claflin.finder.io.graph.sub
Interface GraphReader
-
- All Known Implementing Classes:
SIFGraphIO,SimpleGraphIO
public interface GraphReaderInterface used for classes designed to read graphs from memory.- Version:
- 3.0 May 20, 2015
- Author:
- Charles Allen Schultz II
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphparseGraph(java.io.File source, boolean undirected)Reads a graph from memory.
-
-
-
Method Detail
-
parseGraph
Graph parseGraph(java.io.File source, boolean undirected)
Reads a graph from memory.- Parameters:
source- the File object pointing to the graph in memory to read.undirected- a boolean indicating if the graph should be interpreted as undirected.- Returns:
- the
Graphobject read from memory.
-
-